from django import templateregister = template.Library()@register.filterdef old_list(alist):    alist.reverse()    return alist